﻿using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExcelDemo
{
    [ExcelImporter(IsLabelingError = true)]
    public class ImportDto
    {
        [ImporterHeader(Name = "手机号")]
        public string Phone { get; set; }

        [ImporterHeader(Name = "姓名")]
        public string Name { get; set; }

        [ImporterHeader(Name = "所属企业")]
        public string Company { get; set; }

        [ImporterHeader(Name = "证书编号")]
        public string Code { get; set; }

        [ImporterHeader(Name = "发证日期")]
        public DateTime? PostDate { get; set; }
    }
}
